package com.shoe.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShoeGoodExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShoeGoodExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGoodIdIsNull() {
            addCriterion("good_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodIdIsNotNull() {
            addCriterion("good_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodIdEqualTo(Long value) {
            addCriterion("good_id =", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotEqualTo(Long value) {
            addCriterion("good_id <>", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThan(Long value) {
            addCriterion("good_id >", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdGreaterThanOrEqualTo(Long value) {
            addCriterion("good_id >=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThan(Long value) {
            addCriterion("good_id <", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdLessThanOrEqualTo(Long value) {
            addCriterion("good_id <=", value, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdIn(List<Long> values) {
            addCriterion("good_id in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotIn(List<Long> values) {
            addCriterion("good_id not in", values, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdBetween(Long value1, Long value2) {
            addCriterion("good_id between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodIdNotBetween(Long value1, Long value2) {
            addCriterion("good_id not between", value1, value2, "goodId");
            return (Criteria) this;
        }

        public Criteria andGoodNameIsNull() {
            addCriterion("good_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodNameIsNotNull() {
            addCriterion("good_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodNameEqualTo(String value) {
            addCriterion("good_name =", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotEqualTo(String value) {
            addCriterion("good_name <>", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameGreaterThan(String value) {
            addCriterion("good_name >", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameGreaterThanOrEqualTo(String value) {
            addCriterion("good_name >=", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLessThan(String value) {
            addCriterion("good_name <", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLessThanOrEqualTo(String value) {
            addCriterion("good_name <=", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLike(String value) {
            addCriterion("good_name like", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotLike(String value) {
            addCriterion("good_name not like", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameIn(List<String> values) {
            addCriterion("good_name in", values, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotIn(List<String> values) {
            addCriterion("good_name not in", values, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameBetween(String value1, String value2) {
            addCriterion("good_name between", value1, value2, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotBetween(String value1, String value2) {
            addCriterion("good_name not between", value1, value2, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodUpperIsNull() {
            addCriterion("good_upper is null");
            return (Criteria) this;
        }

        public Criteria andGoodUpperIsNotNull() {
            addCriterion("good_upper is not null");
            return (Criteria) this;
        }

        public Criteria andGoodUpperEqualTo(String value) {
            addCriterion("good_upper =", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperNotEqualTo(String value) {
            addCriterion("good_upper <>", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperGreaterThan(String value) {
            addCriterion("good_upper >", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperGreaterThanOrEqualTo(String value) {
            addCriterion("good_upper >=", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperLessThan(String value) {
            addCriterion("good_upper <", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperLessThanOrEqualTo(String value) {
            addCriterion("good_upper <=", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperLike(String value) {
            addCriterion("good_upper like", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperNotLike(String value) {
            addCriterion("good_upper not like", value, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperIn(List<String> values) {
            addCriterion("good_upper in", values, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperNotIn(List<String> values) {
            addCriterion("good_upper not in", values, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperBetween(String value1, String value2) {
            addCriterion("good_upper between", value1, value2, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodUpperNotBetween(String value1, String value2) {
            addCriterion("good_upper not between", value1, value2, "goodUpper");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyIsNull() {
            addCriterion("good_money is null");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyIsNotNull() {
            addCriterion("good_money is not null");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyEqualTo(Long value) {
            addCriterion("good_money =", value, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyNotEqualTo(Long value) {
            addCriterion("good_money <>", value, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyGreaterThan(Long value) {
            addCriterion("good_money >", value, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyGreaterThanOrEqualTo(Long value) {
            addCriterion("good_money >=", value, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyLessThan(Long value) {
            addCriterion("good_money <", value, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyLessThanOrEqualTo(Long value) {
            addCriterion("good_money <=", value, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyIn(List<Long> values) {
            addCriterion("good_money in", values, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyNotIn(List<Long> values) {
            addCriterion("good_money not in", values, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyBetween(Long value1, Long value2) {
            addCriterion("good_money between", value1, value2, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodMoneyNotBetween(Long value1, Long value2) {
            addCriterion("good_money not between", value1, value2, "goodMoney");
            return (Criteria) this;
        }

        public Criteria andGoodDateIsNull() {
            addCriterion("good_date is null");
            return (Criteria) this;
        }

        public Criteria andGoodDateIsNotNull() {
            addCriterion("good_date is not null");
            return (Criteria) this;
        }

        public Criteria andGoodDateEqualTo(Date value) {
            addCriterion("good_date =", value, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateNotEqualTo(Date value) {
            addCriterion("good_date <>", value, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateGreaterThan(Date value) {
            addCriterion("good_date >", value, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateGreaterThanOrEqualTo(Date value) {
            addCriterion("good_date >=", value, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateLessThan(Date value) {
            addCriterion("good_date <", value, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateLessThanOrEqualTo(Date value) {
            addCriterion("good_date <=", value, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateIn(List<Date> values) {
            addCriterion("good_date in", values, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateNotIn(List<Date> values) {
            addCriterion("good_date not in", values, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateBetween(Date value1, Date value2) {
            addCriterion("good_date between", value1, value2, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodDateNotBetween(Date value1, Date value2) {
            addCriterion("good_date not between", value1, value2, "goodDate");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialIsNull() {
            addCriterion("good_material is null");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialIsNotNull() {
            addCriterion("good_material is not null");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialEqualTo(String value) {
            addCriterion("good_material =", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialNotEqualTo(String value) {
            addCriterion("good_material <>", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialGreaterThan(String value) {
            addCriterion("good_material >", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialGreaterThanOrEqualTo(String value) {
            addCriterion("good_material >=", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialLessThan(String value) {
            addCriterion("good_material <", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialLessThanOrEqualTo(String value) {
            addCriterion("good_material <=", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialLike(String value) {
            addCriterion("good_material like", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialNotLike(String value) {
            addCriterion("good_material not like", value, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialIn(List<String> values) {
            addCriterion("good_material in", values, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialNotIn(List<String> values) {
            addCriterion("good_material not in", values, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialBetween(String value1, String value2) {
            addCriterion("good_material between", value1, value2, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodMaterialNotBetween(String value1, String value2) {
            addCriterion("good_material not between", value1, value2, "goodMaterial");
            return (Criteria) this;
        }

        public Criteria andGoodScienceIsNull() {
            addCriterion("good_science is null");
            return (Criteria) this;
        }

        public Criteria andGoodScienceIsNotNull() {
            addCriterion("good_science is not null");
            return (Criteria) this;
        }

        public Criteria andGoodScienceEqualTo(String value) {
            addCriterion("good_science =", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceNotEqualTo(String value) {
            addCriterion("good_science <>", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceGreaterThan(String value) {
            addCriterion("good_science >", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceGreaterThanOrEqualTo(String value) {
            addCriterion("good_science >=", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceLessThan(String value) {
            addCriterion("good_science <", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceLessThanOrEqualTo(String value) {
            addCriterion("good_science <=", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceLike(String value) {
            addCriterion("good_science like", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceNotLike(String value) {
            addCriterion("good_science not like", value, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceIn(List<String> values) {
            addCriterion("good_science in", values, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceNotIn(List<String> values) {
            addCriterion("good_science not in", values, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceBetween(String value1, String value2) {
            addCriterion("good_science between", value1, value2, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodScienceNotBetween(String value1, String value2) {
            addCriterion("good_science not between", value1, value2, "goodScience");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyIsNull() {
            addCriterion("good_family is null");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyIsNotNull() {
            addCriterion("good_family is not null");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyEqualTo(String value) {
            addCriterion("good_family =", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyNotEqualTo(String value) {
            addCriterion("good_family <>", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyGreaterThan(String value) {
            addCriterion("good_family >", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyGreaterThanOrEqualTo(String value) {
            addCriterion("good_family >=", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyLessThan(String value) {
            addCriterion("good_family <", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyLessThanOrEqualTo(String value) {
            addCriterion("good_family <=", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyLike(String value) {
            addCriterion("good_family like", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyNotLike(String value) {
            addCriterion("good_family not like", value, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyIn(List<String> values) {
            addCriterion("good_family in", values, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyNotIn(List<String> values) {
            addCriterion("good_family not in", values, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyBetween(String value1, String value2) {
            addCriterion("good_family between", value1, value2, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodFamilyNotBetween(String value1, String value2) {
            addCriterion("good_family not between", value1, value2, "goodFamily");
            return (Criteria) this;
        }

        public Criteria andGoodBrandIsNull() {
            addCriterion("good_brand is null");
            return (Criteria) this;
        }

        public Criteria andGoodBrandIsNotNull() {
            addCriterion("good_brand is not null");
            return (Criteria) this;
        }

        public Criteria andGoodBrandEqualTo(String value) {
            addCriterion("good_brand =", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandNotEqualTo(String value) {
            addCriterion("good_brand <>", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandGreaterThan(String value) {
            addCriterion("good_brand >", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandGreaterThanOrEqualTo(String value) {
            addCriterion("good_brand >=", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandLessThan(String value) {
            addCriterion("good_brand <", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandLessThanOrEqualTo(String value) {
            addCriterion("good_brand <=", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandLike(String value) {
            addCriterion("good_brand like", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandNotLike(String value) {
            addCriterion("good_brand not like", value, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandIn(List<String> values) {
            addCriterion("good_brand in", values, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandNotIn(List<String> values) {
            addCriterion("good_brand not in", values, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandBetween(String value1, String value2) {
            addCriterion("good_brand between", value1, value2, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodBrandNotBetween(String value1, String value2) {
            addCriterion("good_brand not between", value1, value2, "goodBrand");
            return (Criteria) this;
        }

        public Criteria andGoodSexIsNull() {
            addCriterion("good_sex is null");
            return (Criteria) this;
        }

        public Criteria andGoodSexIsNotNull() {
            addCriterion("good_sex is not null");
            return (Criteria) this;
        }

        public Criteria andGoodSexEqualTo(String value) {
            addCriterion("good_sex =", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexNotEqualTo(String value) {
            addCriterion("good_sex <>", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexGreaterThan(String value) {
            addCriterion("good_sex >", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexGreaterThanOrEqualTo(String value) {
            addCriterion("good_sex >=", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexLessThan(String value) {
            addCriterion("good_sex <", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexLessThanOrEqualTo(String value) {
            addCriterion("good_sex <=", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexLike(String value) {
            addCriterion("good_sex like", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexNotLike(String value) {
            addCriterion("good_sex not like", value, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexIn(List<String> values) {
            addCriterion("good_sex in", values, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexNotIn(List<String> values) {
            addCriterion("good_sex not in", values, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexBetween(String value1, String value2) {
            addCriterion("good_sex between", value1, value2, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodSexNotBetween(String value1, String value2) {
            addCriterion("good_sex not between", value1, value2, "goodSex");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoIsNull() {
            addCriterion("good_photo is null");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoIsNotNull() {
            addCriterion("good_photo is not null");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoEqualTo(String value) {
            addCriterion("good_photo =", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoNotEqualTo(String value) {
            addCriterion("good_photo <>", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoGreaterThan(String value) {
            addCriterion("good_photo >", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("good_photo >=", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoLessThan(String value) {
            addCriterion("good_photo <", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoLessThanOrEqualTo(String value) {
            addCriterion("good_photo <=", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoLike(String value) {
            addCriterion("good_photo like", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoNotLike(String value) {
            addCriterion("good_photo not like", value, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoIn(List<String> values) {
            addCriterion("good_photo in", values, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoNotIn(List<String> values) {
            addCriterion("good_photo not in", values, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoBetween(String value1, String value2) {
            addCriterion("good_photo between", value1, value2, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andGoodPhotoNotBetween(String value1, String value2) {
            addCriterion("good_photo not between", value1, value2, "goodPhoto");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNull() {
            addCriterion("reserve1 is null");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNotNull() {
            addCriterion("reserve1 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve1EqualTo(String value) {
            addCriterion("reserve1 =", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotEqualTo(String value) {
            addCriterion("reserve1 <>", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThan(String value) {
            addCriterion("reserve1 >", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThanOrEqualTo(String value) {
            addCriterion("reserve1 >=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThan(String value) {
            addCriterion("reserve1 <", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThanOrEqualTo(String value) {
            addCriterion("reserve1 <=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Like(String value) {
            addCriterion("reserve1 like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotLike(String value) {
            addCriterion("reserve1 not like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1In(List<String> values) {
            addCriterion("reserve1 in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotIn(List<String> values) {
            addCriterion("reserve1 not in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Between(String value1, String value2) {
            addCriterion("reserve1 between", value1, value2, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotBetween(String value1, String value2) {
            addCriterion("reserve1 not between", value1, value2, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve2IsNull() {
            addCriterion("reserve2 is null");
            return (Criteria) this;
        }

        public Criteria andReserve2IsNotNull() {
            addCriterion("reserve2 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve2EqualTo(String value) {
            addCriterion("reserve2 =", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotEqualTo(String value) {
            addCriterion("reserve2 <>", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2GreaterThan(String value) {
            addCriterion("reserve2 >", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2GreaterThanOrEqualTo(String value) {
            addCriterion("reserve2 >=", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2LessThan(String value) {
            addCriterion("reserve2 <", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2LessThanOrEqualTo(String value) {
            addCriterion("reserve2 <=", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2Like(String value) {
            addCriterion("reserve2 like", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotLike(String value) {
            addCriterion("reserve2 not like", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2In(List<String> values) {
            addCriterion("reserve2 in", values, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotIn(List<String> values) {
            addCriterion("reserve2 not in", values, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2Between(String value1, String value2) {
            addCriterion("reserve2 between", value1, value2, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotBetween(String value1, String value2) {
            addCriterion("reserve2 not between", value1, value2, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve3IsNull() {
            addCriterion("reserve3 is null");
            return (Criteria) this;
        }

        public Criteria andReserve3IsNotNull() {
            addCriterion("reserve3 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve3EqualTo(String value) {
            addCriterion("reserve3 =", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3NotEqualTo(String value) {
            addCriterion("reserve3 <>", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3GreaterThan(String value) {
            addCriterion("reserve3 >", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3GreaterThanOrEqualTo(String value) {
            addCriterion("reserve3 >=", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3LessThan(String value) {
            addCriterion("reserve3 <", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3LessThanOrEqualTo(String value) {
            addCriterion("reserve3 <=", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3Like(String value) {
            addCriterion("reserve3 like", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3NotLike(String value) {
            addCriterion("reserve3 not like", value, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3In(List<String> values) {
            addCriterion("reserve3 in", values, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3NotIn(List<String> values) {
            addCriterion("reserve3 not in", values, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3Between(String value1, String value2) {
            addCriterion("reserve3 between", value1, value2, "reserve3");
            return (Criteria) this;
        }

        public Criteria andReserve3NotBetween(String value1, String value2) {
            addCriterion("reserve3 not between", value1, value2, "reserve3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}